package com.kgc.scd.service;

import com.kgc.scd.vo.ShopGoodsVO;
import com.kgc.scd.vo.ShopUserBushVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created On : 2022/11/15.
 * <p>
 * Author : Administrator
 * <p>
 * Description: BushGiodsService
 */
@FeignClient(value = "wyyxmall-j-l-t-server")
public interface BushGoodsService {

    @GetMapping("/judgeOrderIsBush")
    ShopGoodsVO involveServerGoodsIsBush(@RequestParam("pid")String pid);

    @PostMapping("/insertBushDetail")
    boolean involveServerSaveBushDetail(@RequestBody  ShopUserBushVO shopUserBushVO);
}
